{{
import os
if settings.community=='qcd' and request.args[0]=='configs':
   for file in files:
       f = 'movies/'+file.filename[8:].replace('/','-')+'.mdp.topological_charge_20'
       path = os.path.join(request.folder,'static',f+'.mp4')
       if os.path.exists(path):
          response.write(A(IMG(_align='right',_src=URL('static',f+'.thumb.jpeg'),_style="border-radius: 0.4em;-moz-border-radius: 0.4em"),_href=URL('static',f+'.mp4')))
          break
   pass
pass
}}
